package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.AttendOvertimeRuleExample.E_ATTEND_PLAN_ID;
import static org.jsola.hr.example.AttendOvertimeRuleExample.E_NON_WORK_DAY_RULE_JSON;
import static org.jsola.hr.example.AttendOvertimeRuleExample.E_OVERTIME_TYPE;
import static org.jsola.hr.example.AttendOvertimeRuleExample.E_WORK_DAY_RULE_JSON;
import static org.jsola.hr.example.AttendOvertimeRuleExample.N_ATTEND_PLAN_ID;
import static org.jsola.hr.example.AttendOvertimeRuleExample.N_NON_WORK_DAY_RULE_JSON;
import static org.jsola.hr.example.AttendOvertimeRuleExample.N_OVERTIME_TYPE;
import static org.jsola.hr.example.AttendOvertimeRuleExample.N_WORK_DAY_RULE_JSON;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【考勤加班规则】详情展示对象")
@Data
public class AttendOvertimeRuleVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_ATTEND_PLAN_ID, example = E_ATTEND_PLAN_ID)
    private String attendPlanId;

    @ApiModelProperty(notes = N_OVERTIME_TYPE, example = E_OVERTIME_TYPE)
    private Integer overtimeType;

    @ApiModelProperty(notes = N_WORK_DAY_RULE_JSON, example = E_WORK_DAY_RULE_JSON)
    private String workDayRuleJson;

    @ApiModelProperty(notes = N_NON_WORK_DAY_RULE_JSON, example = E_NON_WORK_DAY_RULE_JSON)
    private String nonWorkDayRuleJson;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

